﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;


namespace vdos.jobseeker.Utils
{
    public class LogActions
    {
        public static bool LogItem(Int64 userID, Int64 supplierID, Int64 payID, Int64 customerID, Int64 shopStaffID,
                                    string info, string action, string category)
        {
            //LogDao logDao = new LogDao();
            
            //var _log = new Logs();

            //_log.Action = action;
            //_log.Category = category;
            //_log.DateLog = DateTime.Now;
            //_log.UserID = userID;
            //_log.SupplierID = supplierID;
            //_log.PayID = payID;
            //_log.CustomerID = customerID;
            //_log.ShopStaffID = shopStaffID;
            //_log.Info = info;

            //var rs = logDao.Add(_log);

            //if (rs > 0)
            //    return true;
            //else
                //return false;
            return true;
        }
    }
}
